encoding/asn1.tagAndLength.length (field)
23 uses
encoding/asn1 (current package)
asn1.go#L589: ret.length = int(b & 0x7f)
asn1.go#L597: ret.length = 0
asn1.go#L605: if ret.length >= 1<<23 {
asn1.go#L611: ret.length <<= 8
asn1.go#L612: ret.length |= int(b)
asn1.go#L613: if ret.length == 0 {
asn1.go#L620: if ret.length < 0x80 {
asn1.go#L663: if invalidLength(offset, t.length, len(bytes)) {
asn1.go#L667: offset += t.length
asn1.go#L728: if invalidLength(offset, t.length, len(bytes)) {
asn1.go#L734: innerBytes := bytes[offset : offset+t.length]
asn1.go#L766: offset += t.length
asn1.go#L789: if t.class == expectedClass && t.tag == *params.tag && (t.length == 0 || t.isCompound) {
asn1.go#L792: } else if t.length > 0 {
asn1.go#L891: if invalidLength(offset, t.length, len(bytes)) {
asn1.go#L895: innerBytes := bytes[offset : offset+t.length]
asn1.go#L896: offset += t.length
common.go#L52: class, tag, length int
marshal.go#L262: if t.length >= 128 {
marshal.go#L263: l := lengthLength(t.length)
marshal.go#L265: dst = appendLength(dst, t.length)
marshal.go#L267: dst = append(dst, byte(t.length))
marshal.go#L703: length: bodyLen + t.tag.Len(),